package com.yz.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * <p>
 * User:Mr.Du
 * Date:2024/3/18
 * Time:17:34
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "yz.redis")
public class RedisProperties {

    private String host;

    private Integer port;

    private String password;

    private Integer timeout;
}
